package com.hp.java09_springboot.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("s_user") //mybatis-plus 配置表名
public class User {

    @TableId  //当前属性作为主键
    private String userId;
    private String userName;
    private String userPwd;
    private Integer userType;
    private String userImg;

}
